use "$Data_generated/Canton.dta", clear

gen ext_o_right36= ext_dr36/right36

reg ext_dr36  asin_perm asin_pop if year==1926,
estimates store est_1926
reg ext_dr36  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/Table5.tex", replace ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_dr36  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg ext_dr36  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/Table5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_o_right36  asin_perm asin_pop if year==1926,
estimates store est_1926
reg ext_o_right36  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/Table5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_o_right36  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg ext_o_right36  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/Table5.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)